package com.zxmr.audit;

import java.util.concurrent.ExecutorService;

import com.zxmr.asyn.MonitorCallBack;

public class AuditScheduleCallBack implements MonitorCallBack{

	Audit instance;
	@Override
	public void process(ExecutorService worker) {
		
		worker.execute(new Runnable(){

			@Override
			public void run() {
				instance.audit();
			}
			
		});
	}
	
	public AuditScheduleCallBack(Audit instance)
	{
		this.instance = instance;
	}

}
